﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true"
    CodeBehind="DichVuKhachSan.aspx.cs" Inherits="NGU.DichVuKhachSan" %>

<%@ Register Src="~/WUC/search_box_hotel.ascx" TagName="searchboxhotel" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="styles/subpage.css" rel="stylesheet" type="text/css" />
    <link href="styles/searchpage_hotel.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_wrap_body" runat="server">
    <div id="right">
        <div id="search_box_hotel">
            <uc1:searchboxhotel ID="searchbox" runat="server" />
        </div>
    </div>
    <div id="left">
        <div class="slide">
            <div id="slider" class="nivoSlider">
            <a href="#">
            <img src="images/hotel/hotel1.jpg" alt="" title="Forget what hurt you in the past." /></a>
            <img src="images/hotel/hotel2.jpg" alt="" title="But never forget what it taught you" />
            <img src="images/hotel/hotel3.jpg" alt="" title="OBEY THE LAW" />
            <img src="images/hotel/hotel4.jpg" alt="" title="AND REPEAT AFTER ME" />
            <img src="images/hotel/hotel5.jpg" alt="" title="I AM FREE" />
            </div>
            <div id="caption" class="nivo-html-caption">
                <strong>This</strong> is madness with <a href="#">a link</a>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <!--page-all-->
    <div class="page-all">
        <div class="top-pageall">
            <!-- direct-top-page -->
            <div class="direct-top-page">
                <div>
                    Tìm kiếm phòng khách sạn <span id="span_hotel" runat="server" class="strong-type">
                    </span>
                </div>
                <div class="other_details" runat="server" id="other_search_details">
                    Loại phòng: <span id="span_loaiphong" runat="server" class="strong-type"><%=this.txtLoaiPhong %></span><br />
                    Hạng phòng: <span id="soan_hangphong" runat="server" class="strong-type"><%=this.txtHangPhong %></span><br />
                    Từ ngày: <span id="span_fromdate" runat="server" class="strong-type">...</span>
                    đến <span id="span_todate" runat="server" class="strong-type">...</span>
                    <br />
                </div>
            </div>
            <!-- End direct-top-page -->
            <div class="clear">
            </div>
            <span id="no_info_msg" runat="server" style="padding-bottom: 10px; font-style: italic;
                font-size: 14px"></span>
            <!-- table-list-tours -->
            <table class="table-list-rooms" border="0" cellpadding="0" cellspacing="0" width="958">
                <tbody>
                    <!--row-headoflist-->
                    <tr class="rows-headoflist">
                        <td width="30">
                            STT
                        </td>
                        <td width="100">
                            Loại phòng
                        </td>
                        <td width="100">
                            Hạng phòng
                        </td>
                        <td width="300">
                            Mô tả
                        </td>
                        <td width="100">
                            Số người
                        </td>
                        <td width="100">
                            Giá
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <!--End row-headoflist-->
                    <!-- rows-list-addbg -->
                    <%
                        for (int i = 0; i < this.roomLst.Count; i++)
                        {

                            if (i % 2 == 0)
                            {
                    %>
                    <tr class="rows-list-nonbg rows-list-addbg">
                        <%
}
                              else
                              {
                        %>
                        <tr class="rows-list-nonbg">
                            <%
}
                            %>
                            <td class="td_stt">
                                <%=(i+1).ToString() %>
                            </td>
                            <td class="td_loaiphong">
                                <%=this.roomLst[i].LoaiPhong.TenLoaiPhong %>
                            </td>
                            <td class="td_hangphong">
                                <%=this.roomLst[i].HangPhong.TenHangPhong %>
                            </td>
                            <td class="td_mota">
                                <%=this.roomLst[i].LoaiPhong.MoTa %>
                            </td>
                            <td class="td_songuoi">
                                <span class="valid-tour-style">
                                    <%=this.roomLst[i].LoaiPhong.SoNguoi %></span>
                            </td>
                            <td class="td_gia">
                                <span class="valid-tour-style">
                                    <%=this.roomLst[i].Gia.ToString("##,#", System.Globalization.CultureInfo.CreateSpecificCulture("en-US")) + " " + this.roomLst[i].DonViTinh %></span>
                            </td>
                            <td>
                                <div class="gototour">
                                    <a href="/DatPhong.aspx" title="Đặt phòng">
                                        <img src="../images/but-booking-list.png"></a></div>
                            </td>
                        </tr>
                    <%
                        }

                    %>
                    <%-- <td class="td_stt">
                                    123
                                </td>                                
                                <td class="td_loaiphong">
                                    Phòng đơn
                                </td>
                                <td class="td_hangphong">
                                    Phòng thường
                                </td>
                                <td class="td_mota">
                                    Phòng ở hoàn hảo với không gian rộng, trang thiết bị hiện đại, dịch vụ phòng cao cấp mang đến cho khách hàng cảm giác thư giãn nhất
                                </td>
                                <td class="td_gia">
                                    <span class="valid-tour-style">4.730.000 USD/Người</span>
                                </td>                                
                                <td class="td_sochotrong">
                                    <span class="valid-tour-style">9</span>
                                </td>
                                <td>
                                    <div class="gototour">
                                        <a href="#" title="Đặt tour">
                                            <img src="../images/but-booking-list.png"></a></div>
                                </td>--%>
                    <!-- End rows-list-addbg -->
                    <%--<tr>
                        <td style="padding: 10px;" colspan="10" align="right">
                            <a href="#" style="text-align: center; text-decoration: none; color: #00F; font-size: 14px;
                                font-weight: bold">&gt;&gt; Xem thêm </a>
                        </td>
                    </tr>--%>
                </tbody>
            </table>
            <!-- End table-list-tours -->
        </div>
    </div>
    <!--End page-all-->
</asp:Content>
